package com.kfm.pm;

public class Feibo {

    public static int feibo(int num) {
        if (num == 1 || num == 2) {
            return 1;
        }
        return feibo(num - 1) + feibo(num - 2);
    }

    public static void main(String[] args) {
        System.out.println(feibo(10));
    }
}
